package com.jc.order.service.impl;

import com.jc.order.domain.CustomerApiSecret;
import com.jc.order.mapper.CustomerApiSecretMapper;
import com.jc.order.service.CustomerApiSecretService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class CustomerApiSecretServiceImpl implements CustomerApiSecretService {


    @Resource
    private CustomerApiSecretMapper customerApiSecretMapper;


    @Override
    public CustomerApiSecret queryBySecretId(String secretId) {
        CustomerApiSecret e = new CustomerApiSecret();
        e.setSecretId(secretId);
        CustomerApiSecret entity = customerApiSecretMapper.selectOne(e);
        return entity;
    }
}
